<!DOCTYPE html>
<html ng-app>
<head>
    <title>checked</title>
</head>
<body>
 
<ul>
	<li ng-repeat="person in persons">
	<span ng-switch on="person.sex">
	<span ng-switch-when="1">you are a boy</span>
	<span ng-switch-when="2">you are a girl</span>
	</span>
	<span ng-if="person.sex==1">you may be a father</span>
	<span ng-show="person.sex==2">you may be a mother</span>
	<span>
	please input your baby's name:<input type="text" ng-disabled="!person.hasBaby"/>
	</span>
	<span>
	</li>
</ul>
<script>
	var app = angular.module.
</script>
 
    <script src="../AngularJS/angular-1.5.0/angular.min.js"></script>
 
</body>
</html>